package com.CMS.client.ui.data;

import com.CMS.client.CMSConstants;
import com.CMS.client.ui.view.LanguageView;
import com.google.gwt.core.client.GWT;


public class LanguageManagerPaneSectionData
{
	  private static NavigationPaneRecord[] records;
	  
	  private static CMSConstants constants = GWT.create(CMSConstants.class);
	  
	  
	  public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
		  records = getNewRecords();
		}
		return records;
	  }

	  public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[]{
		  new NavigationPaneRecord("language",constants.LanguageSectionName(), new LanguageView.Factory(), null)

		};
	  }
}
